Finish deleting unused code.