Fix errors when ":write gist:".
Merge branch 'webapi_update2'