Code cleanup at dissector.py