This should also be 'number' as for setMinDuration