Migrated core to use module loader.