Refactor tenant role as instances.