added facility to "use" bsondocuments in views