Fix #7: Make previews configurable and optional.