Add a couple of table_functions