Backwards compatibility for "setfield".