PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
template processing. PR: 25389 Submitted by: Anton Berezin <tobez@tobez.org>