Adds definitions keyed on events