Rewrite the examples of the sdk, to make the usage more clearly.