Namespace closure class correctly