$this is now $View in templates