Collision mappings and rock class encapsulation.