Throw out unnecessary code.
Reindent everything.