Add x $.sync to lib