[UPDATE] added API documentation.