Remove the volatile modifiers where they are unnecessary