Add stat library.