} else if (value instanceof SimpleFeature) {
value = new Feature(scope, (SimpleFeature) value);
} else if (value instanceof SimpleFeatureType) {
value = new Schema(scope, (SimpleFeatureType) value);
} else if (value instanceof SimpleFeatureCollection) {
value = new FeatureCollection(scope, (SimpleFeatureCollection) value);
}
return Context.javaToJS(value, scope);
}