Changed visibility of fields and methods.