Cleaned up how to register for scanning.