make ref bindable

R=arv
BUG=

Review URL: https://codereview.appspot.com/59220044