Change the way to add component plugin