Use _MODE instead of the incorrect _ENGINE.

Partially reverts 0305a4827ccdb14b4746d6539e8813e214cd047e.