Fix typo in documentations

*Also removed some trailing whitespaces*