renamed registration of class map to MapClass