Schema.modelFor now registers related models recursively