Add a snippet