Fixed typos and other problems in doc blocks