Simplified listAccounts.