(chore) Remove use of deprecated respones constructors in examples.