Added set quantity option.