Removed unnecessary code

Removed unnecessary code left over from the template sample