Collapse SessionRecord, SessionState, and PreKeyRecord interfaces.