Add open method for pages