Reformat library