Adding promise, attempt and stream documentation.