Added extra methods to the model module for templating