Added base asdynamic check.  Won't work for types declared in the same module, but will work for imported types.