make specifying componentType for web apps optional (i.e. not needed)