Added Viewport class instead of struct.