Add ability to specify a custom traversal strategy.

Addresses Issue #65.