Completed all TODO of function descriptions and arguments.
Tweaked the documentation to remove warnings.