Evil. Make data a pointer to const char*.