Now passing feature type to all insert_feature calls