match class types not string.