version 0.0.1.
allow nils to encoder functions.