Fix pointer typs in the connector
Merge branch 'gh84-Incompatible_pointer_types_in_connector' into stable