Declare functions in global scope inline.
Share extension types.