A structure for event listeners