Add some basic thrift snippets.