Add event definition