Changed access key from private to protected

Instance variables now could be inherit by subclasses.