Changed instance variables from protected back to private.