Add Event Registry/REST types

Ah, I thought Set checked the constraint. Maybe not. I'll add a TODO, this isn't actually used yet.