Add missing method to pakhandler.py