Helpers added.

New function based helpers to facilitate templating.