Fix edoc errors

Edoc generation for several modules fails because of some small errors. This pull request fixes those errors.