Add a way to prevent either variable from being changed.