Removes code that had been commented out and was no longer being used