Moved def to Svg implementation.