little nit: `if (syncImpl) {` should be sufficient here.