[#1309] Let Factory.val() return Param<T> instead of Field<T> -
Fixed regression