Doc fixes in low-level API

There were a couple of doc bugs in the low-level API.  This fixes
them.