Renamed plugin magic function from on_ to plugin_