Correct the dynamic example to conform to initialize signature

The first parameter of initialize needs to be a class not an object instance.