CFY-1133 make ctx importable