Remove virtual structs

Closes #17861.