Issue #2335389 by eshta: Move selectors to ignore into a hook class.