Make invitable work with events

@hundred