PL utils.unpack compatibility; refactoring error 'tag'