Clean up warnings and whitespace errors.