Added course role generation.