Subclasses can be accessed as base class variables