Refactor InstallRole