All the variables in the class are volatile, isn't that safe enough?