Added size accessors to Viewport API