Treat warnings as errors.
Cleaned up the code style.