Renamed 'length' part to 'duration'.