Added documentation for stack