Adds support for structs.