Allow the ,CollisionLayers to access classes as well as objects.