Better way to get listener instance.