Added documentation for methods