Add atomic.* serialize support