Requiring event listeners to be functions for binding