Allow mocking of structs.