Change template to refer to the object as this
Merge pull request #162 from igorlima/improvement/template

Change template to refer to the object as this