Add some time-related methods to project and incorporate into templates.