Adjusted repr so it is a method assigned to the table classes.