Added support for Couchbase calls in the wrapper, having arguments passed by reference