reference-task: remove the unused block variable
reference-task: apply templates to {file|method|class} list too