Support struct traversal in matcher.