Added parameters utility.
Tree generator fixes.