Nicer checking for atomic ops.