make the internal window type more easily inheritable