Why is there a call to removeRole first and then deleteRole?