Replaced template contents