I think we need to get reference to an evaluation context that already has even other functions/methods registered with it - at least in the XD context as #jsonPath is registered in SI by default now.  I could see one wanting to base a directory name based on the value returned by jsonPath.  Perhaps there needs to be an overloaded ctor so that in an XD context, we can contribute to the 'standard/shared' evaluation context.