Revamped variable class for TNE2 model.