Added template processing context to processor methods.