Added documentation for the changes made.