Update API to be compatible with latest Phabricator