Implement changes for PVR window rewrite.