Cleanup.
Added atomicTestAndInc/Dec.
Cleanup.