Added 2 atomic operations.