Fix createFromArchive performance