Revert unnecessary code.