Removed period-testing code.