sniffing for the existence of `extend` as a function on the factory should be sufficient to detect.