Extended Thorin classes and stochastic integrals