Cleaning up by removing code that isn't required.