generalize item and application types for hosts and templates