Implemented get_header_data for tables