Implement unexportVar method