Likewise with compareObject - typehints should both be objects.