Scaffold history.intervals constructor