Remove extra whitepace and fix indentation.