Add examples for the different api usage.