Use declval instead of ValueRef