Support deletion and addition of variants. Close #1.