Upgrade Safe changes to core module bean

Hello to all,

I would like to customize set_notification_body() at calls.php main core module in order to add new $xtpl->assign fields for use in notification templates. What is the best upgrade-safe way to do this ?

Thanks in advance,
Nikos