Added documentation for all methods