Allow table class to be overridden