Deprecated a method in Model.