WIP: Support tenants in tests.
Add class extensions.