Use last version of CM + Manage nbParams for XQuery function.