Change calli.selectResource, calli.addResource, and calli.removeResource to return promises