Changed root to svg to fix examples which were broken due to API change