Small fixes for templates section.

Mostly print to dump stuff.