Implement generating of Event and Error types