minor optimization of #all_roles