Resolve extension field types inside of the namespace they have been defined in, see #161