Add Event Registry/REST types

Doesn't have to be fixed here of course