much better handling of anon functions in Extract Parameter
relates to #1103