addNamespace and Closeable