Merge "Move interfaces to the shared library." into main