Added the ToParser for user defined functions.