Revert "Remove last reference to mtecs enabled param"

This reverts commit 81f60329e47f8b31d9261c0ef46c09780f9d8194.
Revert "Remove MT_ENABLED param and handles"

This reverts commit 90a5ae1afd25e5e31d269f0d0f5e5052f068d0b1.
Fix unused params