Replaced the _variables dictionnary with the Scope object