MDL-62138 core: remove core_register and core_publish