Improved documentation for <ls> function