Added simple gml writer.