Make instrument parameters const in appropriate contexts.