Resolve incompatible type declarations.