What to do for these APIs in Vaadin 7 beta 10 add-on conversion?

  1. Util.getLayout(this) like this

com.vaadin.client.Util.getLayout(this).getAllocatedSpace(this);
  1. Util.getLayout(this) like this

Set<Paintable> pa = new HashSet<Paintable>();
com.vaadin.client.Util.getLayout(this).requestLayout(pa);
  1. client.getPid() like this

public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
        if (wrappersPaintableId == null) {
            wrappersPaintableId = client.getPid();
        }
}

What to do?