Fix for function wrappers.