Add unintrusive reference-counting implementation for disposables