Added methods to get the variable names in an expression