Added extract_npz().