Fix documentation outline.
Fix compiler warnings.