Adding new method changeNamespace