Handle invocation arguments of type Class

I have a few method expectations where the parameter type is `Class`. It looks as though handing of this case got dropped inadvertently with 60be17f5415c2297dd790eecf55e38ff848e5a5e.