This patch updates unit tests as well as the Plugin filter() interface to accept a packets.Packet object instead of a packet dictionary.