Add RoleNames method to abstractNode.