Fixed a typing error causing errors in exemple code.