Added documentation for major utility functions