Remove some extra svg code.