Revert "Use the new NymmsTemplate class"

This reverts commit a3a372f16cc8f002ed32551a849e7b66cb359fda.
Revert "Pass through missing context values"

This reverts commit ff3bd12a2f05da789bf649c39637a9079a793fc4.