Added getType()