Added documentation for each method