Consider adding an accessor for sandbox.  There already is one for context called context().