Mhh. What would be our options.

* A single helper method. We would have to create a new helper module for this.
* Moving the logic into the widget class, but then you would have to insert that in the generator manually, instead of relying on the widget api generator.
* Creating a widget decorator or cell for encapsulating the view logic.

I think we leave it like this for now.