def METHOD_NAME(self, instance, request, **kw):
    namespace = super().METHOD_NAME(**kw)
    namespace['request'] = request
    namespace['view'] = instance
    namespace['context'] = context = instance.context
    namespace['views'] = ViewMapper(context, request)
    # get the root
    obj = context
    root = None
    meth = aq_get(obj, 'getPhysicalRoot', None)
    if meth is not None:
        root = meth()
    namespace.update(here=obj,
                     # philiKON thinks container should be the view,
                     # but BBB is more important than aesthetics.
                     container=obj,
                     root=root,
                     modules=SecureModuleImporter,
                     traverse_subpath=[],  # BBB, never really worked
                     user=getSecurityManager().getUser(),
                     )
    return namespace