Refactored out template.
x