Add functionality to work with table headers (fixes #869)