Fix 'this' within template helpers