Added documentation for more functions