Adds default values for percentage and duration.