Fixed the table methods.