yeah it'll be a function that returns this function
```javascript
this.extendTemplate(template) {
   return function(locals) {
      // Object.keys(jade.helpers).forEach...
      return template(locals, locals);
   }
}
//---
..
this.extendTemplate(template);
```