Add get_role helper method