Add generator for a ContextRole