Fixed a bug in the last commit.
A lot of changes in terms of documentations.