Limits duplicated code in ApplicationHelper