Move variable and constant to ref.go.