Added preview support.