Class types are changed to public