Add support for live previews