Adds methods for replica roles.
Adds methods for replica roles.

ShengjieLuo/pachyderm,kunthar/pachyderm,kunthar/pachyderm,klucar/pachyderm,sambooo/pachyderm,sambooo/pachyderm,klucar/pachyderm,sambooo/pachyderm,alexdebrie/pachyderm,ShengjieLuo/pachyderm,klucar/pachyderm,ShengjieLuo/pachyderm,alexdebrie/pachyderm,alexdebrie/pachyderm