Hack to scale with templates support.