Optimize forgotten templates