Adding sync date handling mechanism in the resource and service layer.