export and add docs for installExprFunction