Improve packet management.