You MUST check the type of retrieved objects.