using correct method visibility for traverseExpressions()