Fix duplicate ObjectTemplate creation
Fix typo
Remove unnecessary string duplication
Merge pull request #12 from mscdex/master

misc fixes