Converted API-visible classes to structs.