With such typing and AddTpayImageFieldsListener being a final class, there is no way to exchange cthe ontent of the class, thus no need for this extraction outside of increasing readability. I would suggest either a lack of final or interface
Originally posted by @lchrusciel in #280 (comment)