Refactor zip stuff to the zip namespace.
Improve the aliases comment.
Document new flattening feature.