Refactors tenant_of
Merge remote-tracking branch 'origin/master'