Moved structs for code readability.