Added a forgotten method that helps with sync

Please keep in mind that these first few commits are merely to get
something into the repo.  This code is by no means stable, and is VERY
BUGGY.