Support document titles

This will eventually allow every document to be tagged with a custom
header prior to combination.