Prevented loading ODM custom type if registry is not available