Changed attempt weight type from int to String.