Code style standardization and general improvements.