Work-in-progress on syncing API: it compiles