Updated the documentation with some definitions and Thrift examples.