Fix documentation and typo