Documentation update, fix input check of $durations array in create()