Added comments to lib.