Add periodic functionality.