removed replaceRemoteRole as obsolete