Add support for checking structs.