ensure client.add('', cb) is a function