Compatibility check must not check collection or array types.