Added general extract feature.