Support filter in mixins (#11747).

Change-Id: If54ec5193a5cd351ff7159d0f5ab65874b2c3a10