removed package protected on some fields so that subclasses could access the fields