Better approach to #14955

We can just detect if the function is there, so that we on;y need
to add it if the kwargs do need to be massaged.
Merge pull request #14973 from thatch45/2014.7

Better approach to #14955
Merge branch '2014.7' into develop