Update code example with namespace