Added register_remote flag for scan.