provide namespace support.

Signed-off-by: Yin MingJun <yinmingjuncn@gmail.com>