Fixes a lot of style issues.