added ability to filter warnings

Hi,
I've just added ability to filter out warnings.