Restore the original code for plugin model
Fix the plugins component to load config form from config.xml, if exists