Update Shape with the new types of crust functions, extern "C" fn.