Fix up the api doc generation a little.
Re-enable the autocommit malarkey.