used method chaining instead of two lines of code in the template definition.
Merge pull request #3 from joeletizia/master

Merging in Master for changes to Template