Cleaning up kernel namespaces.