Removed redundant handling for svg:rect and svg:path.