Remove base64 dependency