Get names of classes and players rather than converting them to strings