Refs, atoms and macros