Clean up view helper.