Remove unused options in gradient; rename value -> compute_value