Add support for process listeners