Implemented serializable for our driver class.