Deprecate executeLocalFunction.