Basic library and doc.