But GeometryType can be one of the following:
http://qgis.org/api/classQGis.html#a09947eb19394302eeeed44d3e81dd74b
I'm not sure what should I do here. Perhaps what's currently implemented is already fine?