Add constant EventCodec instance