Removed 2nd version of the CollisionDetector class to avoid confusion.