Added constructor from traversable.