Add different traversal strategy to EntityDefinition traverse method