API.getAccounts() now uses Set<Account> instead of List<Account>