Done for both addRole and removeRole.