Use an event to signal that IM settings are available
Rather than enumerating available classes, define an event that sets a flag indicating that there's an IM plugin available. Implemented in implugin.php, so all IM plugins that use that class should work. Others can hook the event, too.
Showing with 13 additions and 1 deletion