Replaced a ton of walking code with a template.