Template integration