Updated template code style.