[[ RefactorSyntax ]] Added parse function to the template, and errors parameters