Minor fix; object may be None.