Wrap named namespace

fix "Cannot mix bracketed namespace declarations with unbracketed namespace declarations"