Add `isNamespacedClassConstructor` implementation.