Lending to nonbanks is under scrutiny due to some recent performance issues outside of the residential mortgage market.