Put collision functions in its own file.