Removing unnecessary code.