Compatibility fixes for IP4. Added page layouts exporting.