Improved use of 'Optional' in 'DomEventToHyperlinkEventTransformer'.