Extending addFunction
Detection tweak