Add some ScalaDoc in the library.