Add new API methods to bzr

https://bugzilla.gnome.org/show_bug.cgi?id=701973