code: @Override
  	public void preparePaint(final Request request) {
  		// Headers
  		// The WHeaders comes from the root WComponent and is a
  		// mechanism for WComponents to add their own headers
  		// (eg more JavaScript references).
  
  		Headers headers = this.getUI().getHeaders();
  		headers.reset();
  
  		super.preparePaint(request);
  	}
docs: Override preparePaint in order to perform processing specific to this interceptor. Any old headers are cleared
  out before preparePaint is called on the main UI.
  
  @param request the request being responded to.