Make some methods more forgiving about passing bad arguments