Remove collision detection code