Doctor class variables changed to public