fix bug. ModelWarnings#clear assumed ModelWarnings still descended from Hash