Add option to enable or disable smooth lines.