Extend variable type visitor to visit service and subselect graphs.