Added table functionality.