Maintainability-oriented refactoring of packer-related types