Adds missing documentation and fix some documentation problems.