Improved string staff templating.