Add get_role method