Added support for page previews