Set field implementation.