Added print method table class.