lazy class loading for PtyProcess (r=Eugene.Zhuravlev), 2