Make ref_get() return the reference, for cleaner code.