Add ability to delete periods (issue #3)