EntityList wrapper, caching, and get_accounts function.