Allow creating a model from a ModelData