Link to agreement text. Add some IDs to header lines, too.