Fixing the example to use the right constructor.