Now make refs work for :ptr bindings