Fix references to functions and class allocator in wrapper script.