Unified boro_ref(), boro_unref() and boro_drop() inside the same code.