Let toComplex allow explicit module name in path