Small refactoring inside View helpers