Declare new listener factories
Add error listener factory