Adding sample data structure and marshaling.