Add on-demand loading for plugins