Adds a require snippet.