Changed prettyTree signature to allow only Iterable<Pretty> as argument and relieve the client from the responsibility of converting the children to document.