Implement defining the CollisionLayers value for a class.