Add methods that crop and resize layers.
Generate valid SVG.