Inflate templates