Add removeMembersOutsideRank method and specs.