Removed dead code
Better strategy to deal with the fact that class(variable) can fail if variable is defined in eval and variable also exist as file