Add PassRef and createRefCounted so we can improve creation of RefCounted objects