Adding Media Types to type() and viewClassMap()