Adds inheritance and instantiates cars.