More lenient types for functions that expect a HOF with filters