Give styles an exportable getGeometry method