Various improvements to sync-collection handling, and some constants for easier use of Clark notation.