Refine library headers.