Tolerate interfaces and other types not deriving from object
WBP release 2.3.1.10