Cleans whitespace and unused variables/poor formatting.