Refactoring the Collision.