Added warnings to add vehicle and year field to vehicle class