Setting private fields as accessible