Added documentation everywhere.