Improved table class.