Explicitly bind any functions passed to the template engine to the controller