Changing methods from public to private