Changed to use <atomic>.