Add support for renderBase64