Updated Vehicle class with serialization possibilities.