adding role helper methods

cc @fancyremarker