Removed unnecessary code.