Shared: wrapped atomic variables for cleaner backwards compatibility.