Fixes #22. Adds encodeOnly and decodeOnly combinators