Add formats() method to Archive class