Add support for objects to __.contains