Support last_sync. Closes #3.