Added a new convenience method model_of() which is used mainly for code completion