Added componentType method