This helps ensure that the code to detect specific ActivityStream types continues to live in the code-generation algorithms, reducing maintenance burdens.