Added some API doc.