Refactor packet table methods.