Refactor for accept streams.