Improved global comment.
Updated comment of main entry point to reflect the type of the return value.