Remove Document's unused 'title'

There is no current use for this variable.

This is a subtask for #1428.