T194046: Introduce SlotRoleHandler and SlotRoleRegistry for declaring slot roles.

From mcr