According to MSC2781. The helper methods for the relevant relations have been simplified to only take the necessary data.
Serializable types for the events in the Matrix specification that can be shared by client and server code.