Gave better shape to the pull message. Also isolated data type
encoding / decoding.