Revised plugins importer code.