add extract method to access underlying type from mapnik.Symbolizer