register.clear added - make it simpler for testing w/o sandbox