more ref/unref support
v0.2.2