Better handling of references. Output variable definitions table