I'm surprised the call to the plugin is internal to rilmodem.  I would think this is a generic mechanism that *could* be helpful to other modems as well?