Adds basic support for finding related entities at a given revision