make registerCoreTypes() private