Added inserts for templates