Change the access control of fields from public to private