Updated examples to not reference deprecated stuff