Added Period management.

TODO: Clone objects at the period change. Delete objects at the period
clearing.