The first realization of the sync API.