missing setVariable and getVariable methods

added to page context