Add Viewport class.