Move reading classifier to constructor.