Allow to reference a model as type by name