Fix lots of coding style issues.