Added support for taking references to variables.