Improved clearing registers