Reliably handle mixins with is_default and is_dynamic