Added autopair for brace inserting