Inside XenForo_ViewRenderer_HtmlPublic, within the _getNoticesContainerParams function, could the XenForo_CodeEvent::fire('notices_prepare') be moved to the end?
In this way, developers can add fields to notices without extending such a large class/function.