Adding support for setting a namespace in the template
Adding namespace support to template