Accept str in 'from_base64'