add deprecated types

NPZ depends on Dir, which is now Reader