Delete duplicate copies of code