Consistently use class instead of struct.