Added a default value for LSApplicationCategoryType (utilities). Extracted hash to its own method.