Fix Documentation and Compiler Warnings