Adding support to decode packed fields.
Removing my implementation, get simple :/