Making base64 encoding/decoding optional