Added code to Global to register roles.