added ability to ignore objects by class