Added resize option.