Remove unnecessary unicode conversion in callbacks