Add ability to specify a custom traversal strategy.