Registration API: model could be not instantiated
Merge branch 'api'