Sync with changes on server side, renaming agent to repository and
authority/actor to historicalAgent.