Added an option to ignore hosts based on class