rm register.py deprecated