Remove unnecessary code and replace tabs with whitespace.