Use a nsRefPtr in more places