Added methods for accessing temporaries as well as variables.