Remove unnecessary lines of code.