Add new methods to template