classType is now a private property.