API updates

See https://github.com/untitaker/vdirsyncer/pull/151