Updating doc blocks, some coding standard issues and typos in the documentation.