Fix api.rst warning.