Adding a period method to templates. And, some extra comments on PeriodicModel.period.