Updated examples to new v2.2 syntax