[WIP] Make all direct attributes comparable in timeline.

Still needs tests.