Corrections to template files regarding blocks(sections) and statements.