not sure I'd call this "deprecatedContext". Why not call it "xwikiContext" or "xcontext" instead?