Remove unused local events
Use state machine for new recipes