Fixed a missing addControl() method call in TimePeriod element. Reverting half done...