Supports base64 encoding