Removed old code not in use.