Adds method for getting contents of a table.