Added ctx param to connector's call