A quick hack to handle packed refs for an upcoming presentation. It seems there's room for a lot of new abstractions to get rid of the accumulating hacks.