Fixed plugins that had issues with the on_source hook.