Adds MCS unlock code that uses CAS.