Doc Generator updated.
doc updated.
Api bug fix.