Extract listener binding to abstract class, allowing more flexibility with existing metrics registries.