Fix indentation and delete trailing whitespace.