Added autopair mode.