Reduces number of warnings are generated for the same issue. Puts them in warnings.warn.