Fix for issue #220, AS and IS operators being compiled to dynamic code because of implicit conversion of Type to Class.