Fix types in base64.