more refcounting support
0.1.2