Add AtomicRef.