Renamed Tree.content() to Tree.text()
Tests for flattening. Also support collections
Make it explicit that any collections are supported, not just lists