Fix namespace definition bug.