Added required, getVariable and setVariable on Environment