Handle multitenancy.