Add sync functions to dataspaces

Signed-off-by: Scott Wilson <i@scottwilson.ca>