refactoring the constructors of TraversalPolicy classes