Added stream deleting.