Add a SPECIALIZE pragma for the collision solver.