Add .event macro to models