Make a few stronger style decisions on the preview flag
Remove unused variable parent