Add closure namespaces validation.