 			 "schema_name => '" schema-name "'"
 			 ");"))
 
-(defn render-subqueries-datafilter [ctx schema-name tables]
+(defn render-subqueries-datafilter [schema-name tables]
 	(->> tables
-			 (map #(render-subquery-datafilter ctx schema-name (first %) (second %)))
+			 (map #(render-subquery-datafilter schema-name (first %) (second %)))
 			 (str/join "\n")))
 
-(defn render-schemas [ctx {:keys [schemas]}]
-	(let [metadata-schema-filter (render-schema-metadatafilter ctx schemas)
-				table-metadata-filter (render-table-metadatafile ctx schemas)
+(defn render-schemas [{:keys [schemas]}]
+	(let [metadata-schema-filter (render-schema-metadatafilter schemas)
+				table-metadata-filter (render-table-metadatafile schemas)
 				subquery-filters (into {} (map #(vector (first %) (:subquery-filters (second %))) schemas))
-				data-filters (map #(render-subqueries-datafilter ctx (first %) (second %)) subquery-filters)]
+				data-filters (map #(render-subqueries-datafilter (first %) (second %)) subquery-filters)]
 		(str metadata-schema-filter "\n" table-metadata-filter "\n"
 				 (str/join "\n" data-filters))))
 

		:exclude-tables "NOT IN"))

(defn render-table-metadatafile
	([ctx filter-type table-names]
	 (let [table-names (map double-quote table-names)
				 table-names (str/join ", " table-names)]
		 (str "dbms_datapump.metadata_filter("

	 :directory                    s/Str
	 (s/optional-key :remote-link) s/Str})

(defn render-schema-metadatafilter [schemas]
	(let [schema-names (keys schemas)
				schema-names (map double-quote schema-names)
				schema-names (str/join ", " schema-names)]
