Adding machine_role hierarchy