ref -> atom. Move deref to top level.