Remove unnecessary cache dependencies.
Remove dependency on global Impromptu instance from PluginFactory.