Typesem: Implement key retrieval via named tuples.