Correct globals for shared function types.