Make types immutable, improve iterable printing