Added reflection for valu and inputValue