Fixed incorrect class type hint

Hi,

I have fixed a small incorrect type hint which I discovered after copying the example.