Fix for resourceless plugins.