MADS: Rex - Remove unused variables