Added atomic, raii.