Add getAddresses operation