Completed the implementation of table handling.