small corrections to API docs