Basis for collision code.