Bugfix for the setNamespace.