Fix obsolete requirement
Include helper methods in view instead