Added a few methods to models