Remove nearest neighbor code from inside the repository.