Internal support for filtering by mode. Needs UI support.