Adapt connector to the refactor code of meta