Add base64encode behavior