Added base64 option.