ValueGenerator to be replaced with its value before path is computed.
Merge pull request #43 from rafalkrupinski/fix-valuegenerator

ValueGenerator to be replaced with its value before path is computed.