Remove pre-existing registers when redefining