Removed some useless mutability from collision detectors.