Added some methods to models to simplify some of the views.