AccountManager now has access to, and a dependency on, an underlying Repository.