Clean up dead code in repository.