Fix: prefix cache key (thus classname) with template_ so reserved keywords won't cause problems.