Added IsComplexWidget and IsWidget interfaces.