The structure of the C-terminal helical bundle in glutathione transferase M2-2 determines its ability to inhibit the cardiac ryanodine receptor.