'Doc'

def __init__(self, scope, closure=None):

    self.prototype = closure
    if (closure is None):
        self.own = {}
        for (k, v) in six.iteritems(scope):
            self.define_own_property(k, {'value': v, 'configurable': False, 'writable': False, 'enumerable': False})
    else:
        self.own = scope
