Add option to turn off caching for variables