Nope, this works with structs. I've added test.