Fix bug with batch function in Template.
Update name property docblock in Template.