Support of v1.4 and new setfield prototype

The spec works now with 1.4
The setfield method uses now params