Remove any ref as well