Allow specifying the minimal set of environment keys required
when an event is triggered for a given listener.