Add Internal wrappers for atomic operations