Fix for #33: sync must take the collection url as a property or a function.