Add a view helper