Make base classes protected
Use var if type is explicitly initialized