Moved compatibility aliases from core to library.