make archives and entries opaque, so the same documentation can
be used by both XS and FFI implementations