Add getWidth/getHeight.