Fixing StringTemplate getter caching