Treat warnings as errors by default.
Add missing documentation.