Lots of fixes in the API docs