Integrate with templates mechanism