patching namespace_generator from generator namespace