Added docstrings to packet helpers