Allowing caching from plugin definition
small variable naming fix