Improved parameter "returnIds" in snippets