CBD-1412: inherit object

Change-Id: I429c8b7fac9ef5352e71082e16db2117e3dbf99d
Reviewed-on: http://review.couchbase.org/40003
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>