Better creation of listener instance of getSubscribedEvents analysis