stream: remove vestiges of previous _transform API
stream: unused variable