Start refactoring as has_accounts_engine.