minor autogen doctest fixes