Limiting the number of imports to speed up loading of plug-in