Add ability to query nodes by role.