Remove references to 'document' in LinearData classes

This is left over from when all these methods where in ve.dm.Document.

Change-Id: Iec18aeddc7c8575f72550053c6278ff37a1d6000
Merge "Remove references to 'document' in LinearData classes"