Rename uses of StaticRef to Ref.