Update controller task to use magic get.

Now that association objects can be accessed using `__get()` bake can have shorter syntax in the generated actions.