Use maps given in the event for onJoin and onLeave. Fixes #19