Add support for packing atoms