getClassMap() method (so it can be overridden)