Added documentation for some methods