Fix docs

Fixes for some docs bugs I have come across.