Fix removeTags.
Fix tests.