Add writer support for unkown gradient spread mode