Rewrote RefPtr and PassRefPtr because license