Refactor view helper to actually be a view helper