Simplified and fixed some WolfArchive code.