implement wrapper for ndn packet classes