implement namespace support on eco templates