Added comments to DStreamFunctions