Code generate encoders/decoders for customer types. Closes #16