Added some convenience methods to model