Cleaning up unused code.