Slight doc tweaks.
Fixed type & return issues.