All resource objects can be compared and hashed, so they can be used as mapping indices. They also have this method:
Go to the first, previous, next, last section, table of contents.