allow synthetically generated Event/Error/Unions