Update documentation. Fix typo errors.