Added documentation for preview.