Use a hash lookup to get class names instead