Update API to work with latest Juju 1.20.x series

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
v0.7