Added `durations` keyword to GeneralizedBeam.

The keyword is currently a stub.