Make listeners configurable