Removed old code that isn't used anymore.