Various fixes for document

* fix missing closing bracket

I've found a few, will add remaining later.