Trim trailing whitespace
Minor corrections in documentation