The template processor is pretty dumb right now and it shows once you try to
write more complex signatures. I've toyed with a few different approaches to making
it "smarter" but failed to have something workable (and simple).
Leaving this issue as a placeholder for the future.
Issue: HPPC-190 (migrated from JIRA), created by Dawid Weiss (@dweiss)