Fix API reference

The recent refactor broke the API docs.  This fixes them.