Removed unnecessary old code.